package org.itstack.model;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class Order {
    private String id;
    private String type; // NORMAL, URGENT, DISCOUNT
    private BigDecimal amount;
    private Customer customer;
    
    public Order(String id, String type, BigDecimal amount, Customer customer) {
        this.id = id;
        this.type = type;
        this.amount = amount;
        this.customer = customer;
    }
    
    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    
    public BigDecimal getAmount() { return amount; }
    public void setAmount(BigDecimal amount) { this.amount = amount; }
    
    public Customer getCustomer() { return customer; }
    public void setCustomer(Customer customer) { this.customer = customer; }
}


